package com.css.dzj.dzjdzqs.modules.apunitmessage.entity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;

//监管对象主体
//JG_JGDX_QYJBXX  行政相对人-企业法人基本信息
@Entity
@Table(name = "JG_JGDX_QYJBXX", schema = "DZJJH", catalog = "")
public class JgJgdxQyjbxxEntity {
    private String id;
    private String pripid;
    private String regNo;
    private String uniScid;
    private String entName;
    private String entType;
    private String entTypeCn;
    private String industryCategory;
    private String organizationClass;
    private String nationalEconomy;
    private String leRep;
    private BigDecimal regCap;
    private String currency;
    private String currencyCn;
    private String dom;
    private String opLoc;
    private Date opFrom;
    private Date opTo;
    private String opScope;
    private String opScoType;
    private String opScoTypeCn;
    private String regOrg;
    private String regOrgCn;
    private String regState;
    private String regStateCn;
    private Date estDate;
    private Date apprDate;
    private Date revDate;
    private String sugRevReason;
    private String linkmanName;
    private String linkmanCerNo;
    private String linkmanPhone;
    private BigDecimal operatingLongitude;
    private BigDecimal operatingLatitude;

    @Id
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "PRIPID")
    public String getPripid() {
        return pripid;
    }

    public void setPripid(String pripid) {
        this.pripid = pripid;
    }

    @Basic
    @Column(name = "Reg_NO")
    public String getRegNo() {
        return regNo;
    }

    public void setRegNo(String regNo) {
        this.regNo = regNo;
    }

    @Basic
    @Column(name = "Uni_SCID")
    public String getUniScid() {
        return uniScid;
    }

    public void setUniScid(String uniScid) {
        this.uniScid = uniScid;
    }

    @Basic
    @Column(name = "Ent_Name")
    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    @Basic
    @Column(name = "Ent_Type")
    public String getEntType() {
        return entType;
    }

    public void setEntType(String entType) {
        this.entType = entType;
    }

    @Basic
    @Column(name = "Ent_Type_CN")
    public String getEntTypeCn() {
        return entTypeCn;
    }

    public void setEntTypeCn(String entTypeCn) {
        this.entTypeCn = entTypeCn;
    }

    @Basic
    @Column(name = "Industry_Category")
    public String getIndustryCategory() {
        return industryCategory;
    }

    public void setIndustryCategory(String industryCategory) {
        this.industryCategory = industryCategory;
    }

    @Basic
    @Column(name = "Organization_Class")
    public String getOrganizationClass() {
        return organizationClass;
    }

    public void setOrganizationClass(String organizationClass) {
        this.organizationClass = organizationClass;
    }

    @Basic
    @Column(name = "National_Economy")
    public String getNationalEconomy() {
        return nationalEconomy;
    }

    public void setNationalEconomy(String nationalEconomy) {
        this.nationalEconomy = nationalEconomy;
    }

    @Basic
    @Column(name = "Le_Rep")
    public String getLeRep() {
        return leRep;
    }

    public void setLeRep(String leRep) {
        this.leRep = leRep;
    }

    @Basic
    @Column(name = "Reg_Cap")
    public BigDecimal getRegCap() {
        return regCap;
    }

    public void setRegCap(BigDecimal regCap) {
        this.regCap = regCap;
    }

    @Basic
    @Column(name = "Currency")
    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    @Basic
    @Column(name = "Currency_CN")
    public String getCurrencyCn() {
        return currencyCn;
    }

    public void setCurrencyCn(String currencyCn) {
        this.currencyCn = currencyCn;
    }

    @Basic
    @Column(name = "Dom")
    public String getDom() {
        return dom;
    }

    public void setDom(String dom) {
        this.dom = dom;
    }

    @Basic
    @Column(name = "Op_Loc")
    public String getOpLoc() {
        return opLoc;
    }

    public void setOpLoc(String opLoc) {
        this.opLoc = opLoc;
    }

    @Basic
    @Column(name = "Op_From")
    public Date getOpFrom() {
        return opFrom;
    }

    public void setOpFrom(Date opFrom) {
        this.opFrom = opFrom;
    }

    @Basic
    @Column(name = "Op_To")
    public Date getOpTo() {
        return opTo;
    }

    public void setOpTo(Date opTo) {
        this.opTo = opTo;
    }

    @Basic
    @Column(name = "Op_Scope")
    public String getOpScope() {
        return opScope;
    }

    public void setOpScope(String opScope) {
        this.opScope = opScope;
    }

    @Basic
    @Column(name = "Op_Sco_Type")
    public String getOpScoType() {
        return opScoType;
    }

    public void setOpScoType(String opScoType) {
        this.opScoType = opScoType;
    }

    @Basic
    @Column(name = "Op_Sco_Type_CN")
    public String getOpScoTypeCn() {
        return opScoTypeCn;
    }

    public void setOpScoTypeCn(String opScoTypeCn) {
        this.opScoTypeCn = opScoTypeCn;
    }

    @Basic
    @Column(name = "Reg_Org")
    public String getRegOrg() {
        return regOrg;
    }

    public void setRegOrg(String regOrg) {
        this.regOrg = regOrg;
    }

    @Basic
    @Column(name = "Reg_Org_CN")
    public String getRegOrgCn() {
        return regOrgCn;
    }

    public void setRegOrgCn(String regOrgCn) {
        this.regOrgCn = regOrgCn;
    }

    @Basic
    @Column(name = "Reg_State")
    public String getRegState() {
        return regState;
    }

    public void setRegState(String regState) {
        this.regState = regState;
    }

    @Basic
    @Column(name = "Reg_State_CN")
    public String getRegStateCn() {
        return regStateCn;
    }

    public void setRegStateCn(String regStateCn) {
        this.regStateCn = regStateCn;
    }

    @Basic
    @Column(name = "Est_Date")
    public Date getEstDate() {
        return estDate;
    }

    public void setEstDate(Date estDate) {
        this.estDate = estDate;
    }

    @Basic
    @Column(name = "Appr_Date")
    public Date getApprDate() {
        return apprDate;
    }

    public void setApprDate(Date apprDate) {
        this.apprDate = apprDate;
    }

    @Basic
    @Column(name = "Rev_Date")
    public Date getRevDate() {
        return revDate;
    }

    public void setRevDate(Date revDate) {
        this.revDate = revDate;
    }

    @Basic
    @Column(name = "Sug_Rev_Reason")
    public String getSugRevReason() {
        return sugRevReason;
    }

    public void setSugRevReason(String sugRevReason) {
        this.sugRevReason = sugRevReason;
    }

    @Basic
    @Column(name = "Linkman_Name")
    public String getLinkmanName() {
        return linkmanName;
    }

    public void setLinkmanName(String linkmanName) {
        this.linkmanName = linkmanName;
    }

    @Basic
    @Column(name = "Linkman_Cer_NO")
    public String getLinkmanCerNo() {
        return linkmanCerNo;
    }

    public void setLinkmanCerNo(String linkmanCerNo) {
        this.linkmanCerNo = linkmanCerNo;
    }

    @Basic
    @Column(name = "Linkman_Phone")
    public String getLinkmanPhone() {
        return linkmanPhone;
    }

    public void setLinkmanPhone(String linkmanPhone) {
        this.linkmanPhone = linkmanPhone;
    }

    @Basic
    @Column(name = "Operating_Longitude")
    public BigDecimal getOperatingLongitude() {
        return operatingLongitude;
    }

    public void setOperatingLongitude(BigDecimal operatingLongitude) {
        this.operatingLongitude = operatingLongitude;
    }

    @Basic
    @Column(name = "Operating_Latitude")
    public BigDecimal getOperatingLatitude() {
        return operatingLatitude;
    }

    public void setOperatingLatitude(BigDecimal operatingLatitude) {
        this.operatingLatitude = operatingLatitude;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgJgdxQyjbxxEntity that = (JgJgdxQyjbxxEntity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(pripid, that.pripid) &&
                Objects.equals(regNo, that.regNo) &&
                Objects.equals(uniScid, that.uniScid) &&
                Objects.equals(entName, that.entName) &&
                Objects.equals(entType, that.entType) &&
                Objects.equals(entTypeCn, that.entTypeCn) &&
                Objects.equals(industryCategory, that.industryCategory) &&
                Objects.equals(organizationClass, that.organizationClass) &&
                Objects.equals(nationalEconomy, that.nationalEconomy) &&
                Objects.equals(leRep, that.leRep) &&
                Objects.equals(regCap, that.regCap) &&
                Objects.equals(currency, that.currency) &&
                Objects.equals(currencyCn, that.currencyCn) &&
                Objects.equals(dom, that.dom) &&
                Objects.equals(opLoc, that.opLoc) &&
                Objects.equals(opFrom, that.opFrom) &&
                Objects.equals(opTo, that.opTo) &&
                Objects.equals(opScope, that.opScope) &&
                Objects.equals(opScoType, that.opScoType) &&
                Objects.equals(opScoTypeCn, that.opScoTypeCn) &&
                Objects.equals(regOrg, that.regOrg) &&
                Objects.equals(regOrgCn, that.regOrgCn) &&
                Objects.equals(regState, that.regState) &&
                Objects.equals(regStateCn, that.regStateCn) &&
                Objects.equals(estDate, that.estDate) &&
                Objects.equals(apprDate, that.apprDate) &&
                Objects.equals(revDate, that.revDate) &&
                Objects.equals(sugRevReason, that.sugRevReason) &&
                Objects.equals(linkmanName, that.linkmanName) &&
                Objects.equals(linkmanCerNo, that.linkmanCerNo) &&
                Objects.equals(linkmanPhone, that.linkmanPhone) &&
                Objects.equals(operatingLongitude, that.operatingLongitude) &&
                Objects.equals(operatingLatitude, that.operatingLatitude);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, pripid, regNo, uniScid, entName, entType, entTypeCn, industryCategory, organizationClass, nationalEconomy, leRep, regCap, currency, currencyCn, dom, opLoc, opFrom, opTo, opScope, opScoType, opScoTypeCn, regOrg, regOrgCn, regState, regStateCn, estDate, apprDate, revDate, sugRevReason, linkmanName, linkmanCerNo, linkmanPhone, operatingLongitude, operatingLatitude);
    }
}
